﻿<!--//=============================================================
    // Copyright (C) 2015 福流网络
    // 作 者：侯威
    // 日 期：2016-01-17
    // 描 述:  投诉
    // 版 本：1.00
    // 修改历史纪录
    // 版 本  修改时间      修改人            修改内容
    //=============================================================-->

<div id="QueryItem">



    <div class="col2" id="query_item_record_date"><table class="query_table"><tr><td class="label">投诉日期</td><td class="exp" style="display: none"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="record_date" class="mini-datepicker" style="width:100%;" data="record_date_data" /></td><td><input name="record_date_1" class="mini-datepicker" style="width:100%;" data="record_date_data" /></td></tr></table></div>
    <div class="col2" id="query_item_create_dt"><table class="query_table"><tr><td class="label">记录日期</td><td class="exp" style="display: none"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="create_dt" class="mini-datepicker" style="width:100%;" data="create_dt_data" /></td><td><input name="create_dt_1" class="mini-datepicker" style="width:100%;" data="create_dt_data" /></td></tr></table></div>
    <div class="col1" id="query_item_create_name"><table class="query_table"><tr><td class="label">记录人</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="create_name" class="mini-textbox" style="width:100%;" data="create_name_data" /></td></tr></table></div>
    <div class="col1" id="query_item_bill_no"><table class="query_table"><tr><td class="label">工作号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="bill_no" class="mini-textbox" style="width:100%;" data="bill_no_data" /></td></tr></table></div>


    <div>

        <div class="col1" id="query_item_customer_name">
            <table class="query_table">
                <tr>
                    <td class="label">投诉客户</td>
                    <td class="exp" style="display: none">
                        <select>
                            <option value="like">包含</option>
                            <option value="=">等于</option>
                            <option value=" not like">不包含</option>
                            <option value="<>">不等于</option>
                        </select>
                    </td>
                    <td>
                        <div id="autcustomer_name" name="customer_name" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="400" allowinput="true" textfield="short" valuefield="short"
                             showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,short&where=zclass_id=100 and stop_yn=0&searchField=short,zucode" oncloseclick="onCloseClick">
                            <div property="columns">
                                <div header="id" field="id" width="0"></div>
                                <div header="编号" field="zucode"></div>
                                <div header="简称" field="short"></div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>



        <div class="col1" id="query_item_names">
            <table class="query_table">
                <tr>
                    <td class="label">被投诉人</td>
                    <td class="exp" style="display: none">
                        <select>
                            <option value="like">包含</option>
                            <option value="=">等于</option>
                            <option value=" not like">不包含</option>
                            <option value="<>">不等于</option>
                        </select>
                    </td>
                    <td>
                        <div id="txtperson" name="person" textname="names" shownullitem="true" multiselect="true" class="mini-TextBoxList" style="width:100%;"
                             url="../../../Share/GetJsonList?tablename=t_base_employee&fieldnames=id,name&where=status=0&searchField=name"
                             textfield="name" valuefield="id">
                            <div property="columns">
                                <div header="名称" field="name"></div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>


        <div class="col1" id="query_item_dept_names">
            <table class="query_table">
                <tr>
                    <td class="label">被投诉部门</td>
                    <td class="exp" style="display: none">
                        <select>
                            <option value="like">包含</option>
                            <option value="=">等于</option>
                            <option value=" not like">不包含</option>
                            <option value="<>">不等于</option>
                        </select>
                    </td>
                    <td>
                        <div id="txtdept" name="department" textname="dept_names" shownullitem="true" multiselect="true" class="mini-TextBoxList" style="width:100%;"
                             url="../../../Share/GetJsonList?tablename=t_base_department&fieldnames=id,name&where=&searchField=name"
                             textfield="name" valuefield="id">
                            <div property="columns">
                                <div header="名称" field="name"></div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>


    </div>


</div>
<script type="text/javascript">

    function onCloseClick(e) {
        var obj = e.sender;
        obj.setText("");
        obj.setValue("");
    }

</script>